<?php
	require_once('database.php');
	require_once('display_functions.php');
	$name = sqlite_escape_string($_POST['name']);
	$time = date('U');
	$user = $_POST['user'];
	addProject($name, $time, $user);
	printProjectList($user, 'cs147organizer.db');
?>